
<div ng-app="person" ng-controller="addEmployeeCtrl">
    <div class="button">
        <button type="button" class="btn btn-default" id="submit" ng-click="submit()">提交</button>
        <button type="button" class="btn btn-default" id="clean" ng-click="clean()">清除</button>
    </div>

    <form class="form-inline">

        <!--S=所有机构-->
        <div class="form-group">
            <label for="first_org">一级机构</label>
            <select class="form-control"  ng-model="first_org" id="first_org"  >
                <option ng-repeat=" firstOrg in firstOrgList" value="{{firstOrg}}">{{firstOrg}}</option>
                <!--<option>01</option>-->
                <!--<option>2</option>-->
                <!--<option>3</option>-->
                <!--<option>4</option>-->
                <!--<option>5</option>-->
            </select>

        </div>
        <div class="form-group">
            <label for="second_org">二级机构</label>
            <select class="form-control" ng-model="second_org"  id="second_org" >
                <option value="{{sencondOrg}}" ng-repeat="sencondOrg in sencondOrgList">{{sencondOrg}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="third_org">三级机构</label>
            <select class="form-control"  ng-model="third_org" id="third_org">
                <option value="{{thirdOrg}}" ng-repeat="thirdOrg in thirdOrgList">{{thirdOrg}}</option>
            </select>

        </div>
        <!--S=所有机构-->

        <!--S=所有职称名-->
        <!--<div class="form-group">-->
            <!--<label for="professional">职称</label>-->
            <!--<select class="form-control"  ng-model="professional" id="professional">-->
                <!--<option value="1" selected>1</option>-->
                <!--<option>2</option>-->
                <!--<option>3</option>-->
                <!--<option>4</option>-->
                <!--<option>5</option>-->
            <!--</select>-->

        <!--</div>-->
        <div class="form-group">
            <label for="position_type">职位分类</label>
            <select class="form-control"  ng-model="position_type" ng-change='positionChang()' id="position_type">
                <!--<option value="{{positionType}}" ng-repeat="positionType in position_type">{{positionType}}</option>-->
                <option value="{{positionType}}" ng-repeat="positionType in position_Type">{{positionType}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="position_name">职位名称</label>
            <select class="form-control" id="position_name" ng-model="position_name" >
                <!--<option value="1" selected>1</option>-->
                <option value="{{positionName}}" ng-repeat="positionName in position_Name">{{positionName}}</option>

            </select>

        </div>
        <div class="form-group">
            <label for="position_title">职位称呼</label>
            <select class="form-control" id="position_title" ng-model="position_title">
                <option value="{{positionTitle}}" ng-repeat="positionTitle in position_Title">{{positionTitle}}</option>
            </select>
        </div>
        <!--S=所有职称名-->


        <!--S=姓名、年龄、性别、EMAIL、电话、QQ、手机电话-->
        <div class="form-group">
            <label for="employeeName">姓名</label>
            <input type="text" class="form-control" id="employeeName"  ng-model="employeeName" placeholder="请填写姓名" value="1">
        </div>
        <div class="form-group">
            <label for="age">年龄</label>
            <input type="text" class="form-control" id="age"  ng-model="age" placeholder="请填写年龄" value="1">
        </div>
        <div class="form-group">
            <label for="sex">性别</label>
            <select class="form-control" id="sex"  ng-model="sex">
                <option  selected value="男">男</option>
                <option value="女">女</option>
            </select>
        </div>

        <div class="form-group">
            <label for="email">email</label>
            <input type="text" class="form-control" id="email" ng-model="email" placeholder="请填写邮箱地址" value="1">
        </div>
        <div class="form-group">
            <label for="phone">电话</label>
            <input type="text" class="form-control" id="phone" ng-model="phone" placeholder="请填写电话" value="1">
        </div>
        <div class="form-group">
            <label for="qq">QQ</label>
            <input type="text" class="form-control" id="qq" ng-model="qq" placeholder="请填写QQ号码" value="1">
        </div>
        <div class="form-group">
            <label for="telephone">手机</label>
            <input type="text" class="form-control" id="telephone"  ng-model="telephone" placeholder="请填写手机号码" value="1">
        </div>
        <!--E=姓名、性别、EMAIL、电话、QQ、手机-->

        <!--S=住址、邮政编码-->
        <div class="form-group">
            <label for="address">地址</label>
            <input type="text" class="form-control" id="address"  ng-model="address" placeholder="请填写地址" value="1">
        </div>
        <div class="form-group">
            <label for="postCode">邮政编码</label>
            <input type="text" class="form-control" id="postCode" ng-model="postCode" placeholder="请填写邮政编码" value="1">
        </div>
        <!--E=住址、邮箱-->


        <!--S=国籍、出生地、生日日期、民族、宗教信仰、政治面貌、身份证号码、社会保障号码-->
        <div class="form-group">
            <label for="nationality">国籍</label>
            <select class="form-control" id="nationality" ng-model="nationality">
                <option selected value="中国">中国</option>
                <option value="美国">美国</option>
                <option value="英国">英国</option>
                <option value="日本">日本</option>
                <option value="韩国">韩国</option>
            </select>
        </div>
        <div class="form-group">
            <label for="birthPlace">出生地</label>
            <input type="text" class="form-control" id="birthPlace" ng-model="birthPlace" placeholder="请填写出生地" value="1">
        </div>
        <div class="form-group">
            <label for="birthday">生日日期</label>
            <input type="date" class="form-control" ng-model="birthday" id="birthday" value="1" >
        </div>
        <div class="form-group">
            <label for="nation ">民族</label>
            <select class="form-control" id="nation " ng-model="nation" >
                <option selected value="汉族">汉族</option>
                <option value="蒙古族">蒙古族</option>
                <option value="回族">回族</option>
                <option value="藏族">藏族</option>
                <option value="维吾尔族">维吾尔族</option>
            </select>
        </div>
        <div class="form-group">
            <label for="faith">宗教信仰</label>
            <input type="text" class="form-control" id="faith" ng-model="faith" placeholder="请填写宗教信仰" value="1">
        </div>
        <div class="form-group">
            <label for="politicalStatus">政治面貌</label>
            <input type="text" class="form-control" id="politicalStatus" ng-model="politicalStatus" placeholder="请填写政治面貌" value="1">
        </div>
        <div class="form-group">
            <label for="idcard">身份证</label>
            <input type="text" class="form-control" id="idcard"  ng-model="idcard" placeholder="请填写身份证号码" value="1">
        </div>
        <div class="form-group">
            <label for="soSeNum">社会号码</label>
            <input type="text" class="form-control" id="soSeNum" ng-model="soSeNum"  placeholder="请填写社会号码" value="1">
        </div>
        <!--E=国籍、出生地、生日、民族、宗教信仰、政治面貌、身份证号码、社会保障号码-->


        <!--S=教育背景、专业、银行卡、帐号-->
        <div class="form-group">
            <label for="edubg ">教育背景</label>
            <select class="form-control" id="edubg " ng-model="edubg">
                <option value="大学">大学</option>
                <option value="本科">本科</option>
                <option value="博士">博士</option>
                <option value="大专">大专</option>
                <option value="高中">高中</option>
            </select>
        </div>
        <div class="form-group">
            <label for="major">专业</label>
            <input type="text" class="form-control" id="major" ng-model="major" placeholder="请填写专业" value="1">
        </div>
        <div class="form-group">
            <label for="bank ">银行卡</label>
            <input type="text" class="form-control" id="bank " ng-model="bank" placeholder="请填写银行卡" value="1">
        </div>
        <div class="form-group">
            <label for="accountNumber ">账号 </label>
            <input type="text" class="form-control" id="accountNumber " ng-model="accountNumber" placeholder="请填写账号" value="1">
        </div>
        <!--E=教育背景、专业、银行卡、帐号-->

        <!--S=爱好、履历、家庭关系、备注、职称、建档时间-->
        <div class="form-group">
            <label for="hobby">爱好</label>
            <input type="text" class="form-control" id="hobby" ng-model="hobby" placeholder="请填写爱好" value="1">
        </div>

        <div class="form-group">
            <label for="familyRelative ">家庭关系 </label>
            <input type="text" class="form-control" id="familyRelative " ng-model="familyRelative" placeholder="请填写家庭关系">
        </div>

        <div class="form-group">
            <label for="creatTime">创建时间</label>
            <input type="text" disabled class="form-control" id="creatTime"  value="{{creatTime | date:'yyyy-MM-dd HH:mm:ss' }}">
        </div>
        <div class="form-group">
            <label for="registrant">登记人</label>
            <input type="text" disabled class="form-control" id="registrant" ng-model="registrant" >
        </div>

        <!--S=爱好、履历、家庭关系、备注、建档时间-->

    </form>

    <!--<div class="">-->
       <!--<label for="resume">履历</label>-->
       <!--<textarea name="" id="resume" cols="30" rows="10" placeholder="请填写履历"></textarea>-->
    <!--</div>-->
    <!--<div class="">-->
        <!--<label for="remark ">备注</label>-->
        <!--<input type="text" class="form-control" id="remark " placeholder="请填写备注">-->
    <!--</div>-->
    <div class="input-group">
        <span class="input-group-addon" id="sizing-addon2">履历</span>
        <input type="text" class="form-control" id="resume" placeholder="请填写履历" ng-model="resume"  aria-describedby="sizing-addon2">
    </div>
    <div class="input-group">
        <span class="input-group-addon" id="sizing-addon2">备注</span>
        <input type="text" class="form-control" id="remark" placeholder="请填写备注"  ng-model="remark" aria-describedby="sizing-addon2">
    </div>
</div>